#include "stdafx.h"

#include "../../../include/common/threadLock.h"
#include "../../../include/fore/fore_rtdb.h"  

 
 #include "../../../include/rtdbms/rtdbFun.h" 
 
void oper_start( int &t )
{
	if( t > 0 )
	{
		while( true )
		{
 
			sleep( 50 ); 
			
			if( t == 0 )
			{
				break;
			}
		}
	}

	time_t cur_t;
	time( &cur_t );

	t = cur_t;
}
void oper_finish( int &t )
{
	t = 0;
}

  